package com.lu.adog.demo.main;

import android.support.v4.app.Fragment;

import com.lu.adog.demo.base.BasePresenter;
import com.lu.adog.demo.base.BaseView;
import com.lu.adog.demo.main.data.model.ItemModel;

import java.util.List;

/**
 * @author Yue
 * @date 2017/11/15 11:59
 */

public interface ILinkMain {


    interface Presenter extends BasePresenter{
        Presenter bind(View view,Task task);
        View getMvpView();
        Task getMvpTask();
        void onQuickClickExit();
        List<ItemModel> getItemModelList();
    }

    interface View extends BaseView<Presenter> {
        void setContentPage(Fragment fragment);
        void exitAlertMess();
        void exitApp();
    }
    interface Task{
        List<ItemModel> genItemModelList(int[] names,int[] des);
    }
}
